package com.lianxueda.drawing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lianxueda.drawing.domain.dto.TeacherQueryDTO;
import com.lianxueda.drawing.domain.pojo.Teachers;
import com.lianxueda.drawing.domain.vo.TeacherVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TeacherMapper extends BaseMapper<Teachers> {

    List<Teachers> findByPage(TeacherQueryDTO teacherQueryDTO);

    List<String> getTeacherNamesByIds(@Param("teacherIds")  List<Integer> teacherIds);

    void updateAvatar(@Param("id")Integer id,@Param("String") String string);
}
